home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Extension Link Problem
- Sent: 6/7/96 9:40 AM
- Received: 6/7/96 9:51 AM
- From: Mark Lanett, mlanett@meer.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 7:19 AM 6/7/96, Doyle Rhynard wrote:
- >Everything compiles without any problems. However, when I try to link the
- >client part, I keep gettin the link error:
- > Link Error : undefined 'ADI_TestExtClassData' (data)
- > Referenced from 'CADISimPart::RunTest(Environment*)' in Part.cpp
-
- You need to link against the shared library for that extension. You may
- want to make it a "weak" link (so your part still runs even if it's not
- installed). Before trying to use the client extension, make sure it's
- present:
-
- Boolean HasADIExtension () {
- return &ADI_TestExtClassData != 0;
- }
-
- The Cyberdog samples implement subclasses of an extension (cyberdog API),
- as does ODF R1 (scripting).
-
-
- Mark Lanett, ODF
-
-